package com.hottop.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hottop.common.annotation.Excel;
import com.hottop.common.core.domain.BaseEntity;

/**
 * 今日头条热搜对象 t_jinrihot
 * 
 * @author ruoyi
 * @date 2022-02-19
 */
public class TJinrihot extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 热搜id */
    private Long id;

    /** 热搜排名 */
    @Excel(name = "热搜排名")
    private Long ranking;

    /** 热搜标题 */
    @Excel(name = "热搜标题")
    private String topic;

    /** 热搜热度 */
    @Excel(name = "热搜热度")
    private Long hot;

    /** 热搜网址 */
    @Excel(name = "热搜网址")
    private String url;

    /** 热搜日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "热搜日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date daydate;

    /** 热搜时间 */
    @JsonFormat(pattern = "HH:mm:ss")
    @Excel(name = "热搜时间", width = 30, dateFormat = "HH:mm:ss")
    private Date mindate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRanking(Long ranking) 
    {
        this.ranking = ranking;
    }

    public Long getRanking() 
    {
        return ranking;
    }
    public void setTopic(String topic) 
    {
        this.topic = topic;
    }

    public String getTopic() 
    {
        return topic;
    }
    public void setHot(Long hot) 
    {
        this.hot = hot;
    }

    public Long getHot() 
    {
        return hot;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setDaydate(Date daydate) 
    {
        this.daydate = daydate;
    }

    public Date getDaydate() 
    {
        return daydate;
    }
    public void setMindate(Date mindate)
    {
        this.mindate = mindate;
    }

    public Date getMindate()
    {
        return mindate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ranking", getRanking())
            .append("topic", getTopic())
            .append("hot", getHot())
            .append("url", getUrl())
            .append("daydate", getDaydate())
            .append("mindate", getMindate())
            .toString();
    }
}
